home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.event.ActionListener;
- import java.io.Serializable;
-
- class JComponent$KeyboardBinding implements Serializable {
- ActionListener action;
- String command;
- KeyStroke keyStroke;
- int condition;
-
- JComponent$KeyboardBinding(ActionListener var1, String var2, KeyStroke var3, int var4) {
- this.action = var1;
- this.command = var2;
- this.keyStroke = var3;
- this.condition = var4;
- }
-
- ActionListener getAction() {
- return this.action;
- }
-
- String getCommand() {
- return this.command;
- }
-
- int getCondition() {
- return this.condition;
- }
-
- KeyStroke getKeyStroke() {
- return this.keyStroke;
- }
-
- public String toString() {
- return "KeyBinding (" + this.action + "," + this.keyStroke + "," + this.condition + ")";
- }
- }
-